package org.jeecg.modules.lock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.door.entity.LwgyJointDoor;
import org.jeecg.modules.lock.entity.LwgyDoorLock;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Description:
 * @Author : M-JGG
 * @create 2024/4/3 11:51
 */
public interface LwgyDoorLockService  extends IService<LwgyDoorLock> {

    /**鉴权*/
    String getAuthentication();

    /**批量添加第三方门锁房间信息*/
    void insertThirdRoom(List<LwgyJointDoor> roomDataList);

    /**调用电控开关电接口*/
    String handleDoorLock(LwgyDoorLock lwgyDoorLock);

    /** 开断电不成功的更改状态*/
    void updateDoorLockState(String roomId,String result);
}
